package com.ansatsing.templateMethod;
//泡茶：1把水煮沸--》2用沸水浸泡茶叶--》3把茶水倒进杯子---》4加柠檬
//步骤1和步骤3在模版类里实现了
public class Tea extends RecipeTemplate {
	
	@Override
	void brew() {//2用沸水浸泡茶叶
		System.out.println("Steeping the tea");
	}

	@Override
	void addCondiments() {//4加柠檬
		System.out.println("Adding Lemon");
	}

}
